package com.xbp.examsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xbp.examsystem.entity.Category;

import java.util.List;

public interface CategoryService extends IService<Category> {
    List<Category> getCategoryList();
    List<Category> getCategoryTree();

    void addCategory(Category category);

    void updateCategory(Category category);

    void deleteCategory(Long id);
}